Attempt to update to FreeBSD 14.4.#23350
Conversation
|
It looks there are some warnings that need to be addressed due to changes that come with upgrading cross-platform-actions. But on top of that, it looks like there's a new test suite failure that I'm going to need to investigate. I'm not seeing that failure locally on FreeBSD 15 (though I get an error from valgrind about it trying to use unimplemented functionality, which I haven't seen previously), but my laptop is still on FreeBSD 14 IIRC. So, I'll try to find time to try it there after I get some sleep. |
|
I mentioned this to Adam elsewhere, but I'll mention it here for anyone else who might see the PR, but when I ran the test suite locally on my laptop with FreeBSD 14.3, it passed. I haven't tried 14.4 yet, because the drives proceeded to go south during that process, but since Adam has now tried this with FreeBSD 14.3, and it failed there too, that would indicate that it's not the case that 14.3 works and 14.4 does not. Presumably, either there is a difference in the environment, or I didn't run the tests in quite the same way. |
|
The CI logs point to a failure here: https://github.com/dlang/dmd/blob/master/compiler/test/dshell/dwarf.d#L57 I recall FreeBSD deprecating GCC in favour of LLVM in recent years. GNU's objdump puts the version on the first line, but LLVM's puts it on the second line - vs My guess is that objdump is LLVM's on the systems that are failing, and GNU's on the systems that aren't. Can you confirm? |
gcc was removed from FreeBSD some time ago and is only available via ports (IIRC because of the change to GPL v3), though I don't remember which version that was done in. That being said, it at least used to be the case that if you didn't have gcc installed, dmd wouldn't build. Either way, on my FreeBSD 15 system, it looks like I have gcc and binutils installed (either because some port/package needed it, or I installed them with the assumption that I needed them to build dmd), so And if I put a symlink to |
|
I suspect that these changes missed something, since |
LOL. Well, simply installing binutils isn't enough, since apparently, the default PATH order puts So, I guess that the options are
So, I think that I'll create a PR which does 2. |
Okay. If I understand correctly, that problem is caused by https://github.com/dlang/dmd/settings/branch_protection_rules/5665, so that will probably need to be changed after this is ready and merged, and if it blocks the merge, because it's marked is required, then we may have to force the merge first. |
|
Okay. #23363 should fix the test failure. It turns out that FreeBSD 13 removed objdump entirely (so the test in question just got skipped, since it doesn't require that it pass, just that it pass if it's run), and the FreeBSD 14 added LLVMs objdump, which won't work with the tests. So, this wasn't failing in CI previously simply because the tests in question were skipped. So, once that's merged, this should pass. However, the warnings caused by updating cross-platform-actions/action still need to be fixed and this should be switched back to FreeBSD 14.4. |
No description provided.